<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets">
    <h:head>
        <title><ui:insert name="title"/></title> 
        <h:outputScript library="primefaces" name="jquery/jquery.js" />
        <h:outputScript library="js" name="jquery.dropotron.min.js" />        
        <h:outputScript library="js" name="init.js" />
        <h:outputScript library="js" name="currentPage.js" />
        <noscript>            
            <h:outputStylesheet library="css" name="style.css"/>            
        </noscript>       
    </h:head>
    <h:body>
        <!-- Header -->
        <div id="header">

            <!-- Logo -->
            <h1><h:link outcome="accueil.xhtml" value="ShopEasy"/></h1>

            <!-- Nav -->            
            <nav id="nav" class="nav-default">
                <ul>
                    <li><h:link outcome="accueil.xhtml" value="Accueil"/></li>
                    <li>
                        <h:link outcome="admin/listeProduits.xhtml" value="Produits"/>
                        <ul>
                            <u><b>Produits</b></u>
                            <li><h:link outcome="admin/listeProduits.xhtml" value="Annuaire" /></li>
                            <li><h:link outcome="admin/ajoutProduit.xhtml" value="Ajouter"/></li> 
                            <u><b>Catégories</b></u>
                            <li><h:link outcome="admin/listeCategories.xhtml" value="Annuaire"/></li>
                            <li><h:link outcome="admin/ajoutCategorie.xhtml" value="Ajouter"/></li>                            
                        </ul>
                    </li>
                    <li>
                        <h:link outcome="admin/listePromotions.xhtml" value="Promotions"/>                        
                    </li>    
                    <li>
                        <h:link outcome="admin/listeRayons.xhtml" value="Rayons"/>
                        <ul>
                            <li><h:link outcome="admin/listeRayons.xhtml" value="Annuaire"/></li>
                            <li><h:link outcome="admin/ajoutRayon.xhtml" value="Ajouter"/></li>                            
                        </ul>
                    </li>
                    <li>
                        <h:link outcome="admin/listeRecettes.xhtml" value="Recettes"/>
                        <ul>
                            <li><h:link outcome="admin/listeRecettes.xhtml" value="Annuaire"/></li>
                            <li><h:link outcome="admin/ajoutRecette.xhtml" value="Ajouter"/></li>                            
                        </ul>
                    </li>                                    
                </ul>
            </nav>
        </div>

        <!-- Banner -->
        <ui:insert name="banner"/>


        <!-- Main -->
        <ui:insert name="content"/>        			

        <!-- Footer -->
        <div id="footer">

            <!-- Copyright -->
            <div class="copyright">
                <ul class="menu">
                    <li>&copy; Frédéric Courtoy &amp; Damien Demazy.</li><li>Design by Dared</li>
                </ul>
            </div>

        </div>
    </h:body>
</html>

